package com.ontheroad.mysql.topic.mapper;

import com.ontheroad.topic.model.TopicModel;
import org.mybatis.mapper.interfaces.GenericMapper;

import java.util.List;


/**
 * TopicDAO接口
 *
 * @author admin
 */
public interface TopicMapper extends GenericMapper<TopicModel, Integer> {
    void updateHotByIds(Integer hotId);

    List<TopicModel> findByCircleId(Integer circleId);

    void updateParticipantsCountByIds(List<Integer> topicIds);

    void updateAddParticipantsCountByIds(List<Integer> topicIds);

    //------------------请在此添加自定义方法（开始）------------------
    //------------------请在此添加自定义方法（结束）------------------


}
